package com.aspose.cells;

abstract class zaxk extends zaxy {
   protected int a;
   protected int b;
   protected boolean c;
   protected boolean d;
   protected int e;
   protected int f;

   public zaxk(zahn var1, int var2) {
      super(var1);
      this.b = var2;
      this.c = this.k.n();
      this.a = var1.e();
   }

   public zagu a(int var1, int var2) {
      if (this.c) {
         if (var1 < this.a) {
            return this.k.a(var1, 0);
         }
      } else if (var2 < this.a) {
         return this.k.a(0, var2);
      }

      return zzb.a;
   }

   public boolean b(int var1, int var2) {
      return this.a(this.c ? var1 : var2);
   }

   public void f() {
      this.k.f();
      this.f = -1;
      this.d = true;
      this.e = -1;
   }

   public int c() {
      return this.c ? this.b : 1;
   }

   public int d() {
      return this.c ? 1 : this.b;
   }

   public int e() {
      return this.b;
   }

   public int i() {
      return this.c ? this.f : 0;
   }

   public int j() {
      return this.c ? 0 : this.f;
   }

   public int k() {
      return this.f;
   }

   public boolean l() {
      return false;
   }

   public boolean m() {
      return !this.c;
   }

   public boolean n() {
      return this.c;
   }

   public zahn b(int var1) {
      return (zahn)(this.c ? new zaya(this.a(var1, 0)) : this);
   }

   public zahn c(int var1) {
      return (zahn)(this.c ? this : new zaya(this.a(0, var1)));
   }
}
